<html>
<head><meta charset="utf-8"><title>tip for git submodule issues · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tip.20for.20git.20submodule.20issues.html">tip for git submodule issues</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="217694072"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/tip%20for%20git%20submodule%20issues/near/217694072" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tip.20for.20git.20submodule.20issues.html#217694072">(Nov 23 2020 at 22:54)</a>:</h4>
<p>Tip for anyone who has this problem: I had this annoying thing where I modified content in a submodule, but then I couldn't stage the changes, so I wanted to just get rid of them. I tried a bunch of things, but eventually I solved the problem by running <code>rm -rf src/tools/cargo</code> and then running <code>./x.py</code> (which I think runs <code>git submodule update</code> even if you don't pass a command like build or test).</p>



<a name="217694253"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/tip%20for%20git%20submodule%20issues/near/217694253" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Charles Ellis O&#x27;Riley Jr. <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tip.20for.20git.20submodule.20issues.html#217694253">(Nov 23 2020 at 22:56)</a>:</h4>
<p><span aria-label="+1" class="emoji emoji-1f44d" role="img" title="+1">:+1:</span></p>



<a name="217716668"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/tip%20for%20git%20submodule%20issues/near/217716668" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Isitha Subasinghe <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/tip.20for.20git.20submodule.20issues.html#217716668">(Nov 24 2020 at 05:43)</a>:</h4>
<p>(deleted)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>